/**
 * Created with Intellij IDEA.
 * Description;
 * User:墨琦
 * Data:2023-04-03
 * Time:21:19
 */
public class Text1 {
    public static void main(String[] args) {
        Peole kk=new Peole();
        kk.setVal(0,"asdfer");
        kk.setVal(1,1234);
        String kw=(String)kk.getPos(0);
        System.out.println(kw);
        System.out.println((int)kk.getPos(1));

    }
}
class Peole{
    public Object[] objects = new Object[10];

    public Object getPos(int pos) {
        return objects[pos];
    }

    public void setVal(int pos,Object val) {
        objects[pos] = val;
    }

}